package com.example.cxf.service;

import com.example.cxf.domain.Student;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import java.util.List;

/**
 * @author Mr.yuan
 * @version v1.0
 * @date 2019/12/31 19:15
 **/
@WebService(targetNamespace="http://service.cxf.example.com")
public interface IHello {

    @WebMethod
    public @WebResult
    List<Student> sayHello(@WebParam(name = "userName") String userName);
}
